#define SWAP(x) (x=(((x&0x55555555)<<1)+((x&0xaaaaaaaa)>>1)))
#include <stdio.h>
int main()
{

	int a = -10;
	SWAP(a);

	printf("%d\n", a);
	return 0;
}
